Page({

  /**
   * 页面的初始数据
   */
  data: {
    // 首页入口数据
    entry:[
      {
      id:1,
      imgSrc:"http://p0.ssl.qhimg.com/t01f222be1309c2fd7f.png",
      text:"全部产品",
      url:"https://m.360.cn/classify.html"
      },
      {
        id: 2,
        imgSrc:"http://p4.ssl.qhimg.com/t01d7427e1f6239b1b1.png",
        text: "360搜索",
        url:"https://m.so.com/"
      },
      {
        id: 3,
        imgSrc:"http://p0.ssl.qhimg.com/t01235788f8980fb490.png",
        text: "360会员商城",
        url: "https://mall.360.cn/"
      },
      {
        id: 4,
        imgSrc:"http://p1.ssl.qhimg.com/t0192c6a682125e6cc9.png",
        text: "360游戏",
        url:"http://u.360.cn/"
      },
    ],
    // 手机软件数据
    sofeware:[
      {
        id:1,
        imgSrc: "http://p1.ssl.qhmsg.com/d/inn/2edf2228/aqrj/weishi_60.png",
        name: "手机卫士",
        size: "8.95M"
      },
      {
        id: 2,
        imgSrc: "http://p3.ssl.qhimg.com/d/inn/2edf2228/aqrj/Box_60.png",
        name: "手机助手",
        size: "6.5M"
      },
      {
        id: 3,
        imgSrc: "http://p1.ssl.qhmsg.com/t01c5bfd5968d038a63.png",
        name: "浏览器",
        size: "23.16M"
      },
      {
        id: 4,
        imgSrc: "http://p3.ssl.qhimg.com/t015eebd58e3c9362f7.png",
        name: "清理大师",
        size: "5.8M"
      },
      {
        id: 5,
        imgSrc: "http://p2.ssl.qhmsg.com/t01e2a809acc329ae82.png",
        name: "影视大全",
        size: "20.7M"
      },
      {
        id: 6,
        imgSrc: "http://p1.ssl.qhmsg.com/t01ac094f0e7138f4c1.png",
        name: "省电王",
        size: "2.8M"
      },
      {
        id: 7,
        imgSrc: "http://p4.ssl.qhmsg.com/t01e4c126e44c6e0e47.png",
        name: "免费WIFI",
        size: "3.8M"
      },
      {
        id: 8,
        imgSrc: "http://p1.ssl.qhmsg.com/t015c4a525a2379d9f6.png",
        name: "ROOT",
        size: "4.8M"
      },
    ],
    // 轮播图数据
    slider:[
      {
        id:1,
        imgSrc:"http://p0.ssl.qhimg.com/t0193916ba2ced82e6c.png",
        url:""
      },
      {
        id: 2,
        imgSrc: "http://p1.ssl.qhimg.com/t0112454b2ad89460e8.png",
        url: ""
      },
      {
        id: 3,
        imgSrc: "http://p1.ssl.qhmsg.com/t01dd057241efdad2ad.png",
        url: ""
      },
    ],
    newApp:[
      {
        id:1,
          imgSrc:"http://p1.ssl.qhmsg.com/t01dc430e8c4fbc2aee.png",
        text:"360搜索",
      }, 
      {
        id: 2,
        imgSrc: "http://p2.ssl.qhimg.com/t01eb2fa39da7e4001c.png",
        text: "会员商城",
      },
      {
        id: 3,
        imgSrc: "http://p4.ssl.qhmsg.com/t01f9b7903b471806d0.png",
        text: "手机专家",
      },
      {
        id:4,
        imgSrc:"http://p2.ssl.qhmsg.com/t01946e38139012bf1a.png",
        text:"流量卫士",
      },
      {
        id: 5,
        imgSrc: "http://p1.ssl.qhmsg.com/t01a03df1ddec4c9046.png",
        text: "360天气",
      },
      {
        id: 6,
        imgSrc: "http://p0.ssl.qhmsg.com/t01a1539e3423346062.png",
        text: "360金融",
      },
      {
        id: 7,
        imgSrc: "http://p1.ssl.qhimg.com/t01bccedbc0d45dd194.png",
        text: "360借条",
      },
      {
        id: 8,
        imgSrc: "http://p1.ssl.qhmsg.com/t01dc430e8c4fbc2aee.png",
        text: "信用卫士",
      },
      {
        id: 9,
        imgSrc: "http://p2.ssl.qhimg.com/t01c4239d3c1e617adf.png",
        text: "贷款神器",
      },
      {
        id: 10,
        imgSrc: "http://p2.ssl.qhimg.com/t01cbde8755c0c23978.jpg",
        text: "安全客",
      },
    ],
    service:[
      {
        id:1,
        text:"360搜索"
      },
      {
        id: 2,
        text: "360导航"
      },
      {
        id: 3,
        text: "360金融"
      },
      {
        id: 4,
        text: "360新闻"
      },
      {
        id: 5,
        text: "360影视"
      },
      {
        id: 6,
        text: "360贷款神器"
      },
      {
        id: 7,
        text: "信用卫士"
      },
      {
        id: 8,
        text: "安全客"
      },
      {
        id: 9,
        text: "安全教育"
      },
    ],
    // 智能硬件
    hardwareleft: [
      {
        id: 1,
        name: "360家庭防火墙路由器5S",
        detail: "为家守护的黑科技路由",
        price: "199元",
        imgSrc: "https://p2.ssl.qhimg.com/t01c197fe3ac30ff1ef.png",
      },
      {
        id: 2,
        name: "360扫地机器人S7",
        detail: "扫拖一体 AI智能新升级",
        price: "1799元",
        imgSrc: "https://p5.ssl.qhimg.com/t0181d5733b6dc321ba.png",
      },
      {
        id: 3,
        name: "360儿童手表8X",
        detail: "超强续航的4G视频电话手表",
        price: "399元",
        imgSrc: "https://p5.ssl.qhimg.com/t012a3289c21c303a14.png",
      }
    ],
    hardwarerighttop: [
      {
        id: 1,
        name: "360AI音箱MAX-M1",
        detail: "澎湃音质 双重智能",
        price: "199元",
        imgSrc: "https://p3.ssl.qhimg.com/t013329bb6b92d78417.png",
      },
      {
        id: 2,
        name: "360可视门铃",
        detail: "家庭安全的最佳守门员",
        price: "349元",
        imgSrc: "https://p1.ssl.qhimg.com/t0196759c96bd031f8f.png",
      },
    ],
    hardwarerightbottom: [
      {
        id: 1,
        name: "360儿童安全座椅智能头等舱",
        detail: "适合约9个月—12岁宝宝",
        price: "1980元",
        imgSrc: "https://p1.ssl.qhimg.com/t010d9a0f282c75a188.png",
      }
    ],
  },

  goToPage(event){
    console.log(event)
  },
  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  },
  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
    
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
    
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
    
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
    
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
    
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
    
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
    
  }
})